#pragma once

#include "Color.h"
#include "Coordinates.h"

class CDC;

namespace HW2
{
	// Also implemented by ImageBitmap
	struct Plotter
	{
		virtual void plot(int x, int y, double z = 0, Color c = Color(), Coordinates orig = Coordinates()) = 0;
		virtual void fillBackground(Color c) {};
	};

	struct ScreenPlotter : public Plotter
	{
		CDC* screen;
		ScreenPlotter(CDC* screen);
		virtual void plot(int x, int y, double z = 0, Color c = Color(), Coordinates orig = Coordinates());
		void fillBackground(Color c);
	};

}